<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="content-type" content="text/html; charset=<?php echo $this->config->item('charset'); ?>" />
<title>附件管理</title>
<link rel="shortcut icon" href="" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $this->config->item('style_css');?>" />
<script type="text/javascript" src=""></script>
</head>
<body>
	<div id = "main">
	<?php
		if(isset($attach_table)){
	?>		
		<div id="sub_menu">
		<span><a href="<?php echo site_url('attachment/add/image')?>">添加图片</a></span>
		<span><a href="<?php echo site_url('attachment/add/media')?>">添加多媒体</a></span>
		<span><a href="<?php echo site_url('attachment/add/compression')?>">添加压缩文件</a></span>
		<span><a href="<?php echo site_url('attachment/add/document')?>">添加文档</a></span>
		<span><a href="<?php echo site_url('attachment/add/file')?>">添加其他文件</a></span>
		</div>
	<?php 
		echo $attach_table;
		
		}
		if(isset($pagination)){
			echo $pagination;
		}
		if(isset($attach_add_form)){
			echo $attach_add_form;
		}
		if(isset($attach_info_error)){
			echo $attach_info_error;
		}
		if(isset($attach_info_form)){
			echo $attach_info_form;
		}
	?>	
	</div>
</body>